package com.weixin.paleituo.annotation;

import android.support.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * 订单状态：订单状态 1-待付款，2-待收货，4-已收货，5-已退款，6-已完成(前端无关), 7-已取消  3-已发货
 *
 * @author fengzhen
 * @version v1.0, 2018/4/7
 */
@IntDef({OrderStatusType.WAIT_PAY, OrderStatusType.WAIT_RECEIVING,
        OrderStatusType.FINISH, OrderStatusType.CANCEL, OrderStatusType.FEFUND,OrderStatusType.COMPLETE,OrderStatusType.WAIT_SHIPMENTS})
@Retention(RetentionPolicy.RUNTIME)
public @interface OrderStatusType {
    int WAIT_PAY = 1;
    int WAIT_RECEIVING = 2;
    int FINISH = 4;
    int CANCEL = 7;
    int FEFUND = 5;
    int COMPLETE=6;
    int WAIT_SHIPMENTS=3;
}
